package com.base.bean;

import java.sql.Timestamp;

/**
 * ClientPhone entity. @author MyEclipse Persistence Tools
 */

public class ClientPhone implements java.io.Serializable {

	// Fields
	private Integer id;
	private String phone;
	private Integer cid;
	private Integer creator,owner;
	private Timestamp created;
	private Timestamp wasted;
	private Integer state;
	private Boolean isDefault;

	// Constructors

	/** default constructor */
	public ClientPhone() {
	}

	/** minimal constructor */
	public ClientPhone(String phone) {
		this.phone = phone;
	}
	
	public ClientPhone(String phone,Timestamp curTime) {
		this.phone = phone;
		this.created=curTime;
	}
	

	

	/** full constructor */
	public ClientPhone(String phone, Integer cid, Integer creator,
			Timestamp created, Integer state, Boolean isDefault) {
		this.phone = phone;
		this.cid = cid;
		this.creator = creator;
		this.created = created;
		this.state = state;
		this.isDefault = isDefault;
	}

	// Property accessors

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getCreator() {
		return this.creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public Timestamp getCreated() {
		return this.created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public Integer getOwner() {
		return owner;
	}

	public void setOwner(Integer owner) {
		this.owner = owner;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Boolean getIsDefault() {
		return this.isDefault;
	}

	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Timestamp getWasted() {
		return wasted;
	}

	public void setWasted(Timestamp wasted) {
		this.wasted = wasted;
	}

}